private["_static","_gunner","_group","_side","_possibleInfantryTypes","_infantryType","_unit"];
_static = [_this,0,objNull] call bis_fnc_param;
_side = [_this,1,A3E_VAR_Side_Ind] call bis_fnc_param;

if (!isNull _static) then [{
	_group = createGroup _side;
	_possibleInfantryTypes = if(_side == A3E_VAR_Side_Ind)then[{a3e_arr_Escape_InfantryTypes_Ind2},{a3e_arr_Escape_InfantryTypes}];
	_infantryType = selectRandom _possibleInfantryTypes;
	_unit = _group createUnit [_infantryType, getpos _static, [], 0, "FORM"];    
	_unit assignAsGunner _static;
	_unit moveInGunner _static;
},{
	_unit = objNull;
}];
_unit;